package com.ruoyi.cbs.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目复工申请对象 cbs_project_resume
 * 
 * @author ruoyi
 * @date 2025-11-21
 */
public class ProjectResume extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 复工主键 */
    private Long id;

    /** 复工编号 */
    @Excel(name = "复工编号")
    private String resumeNo;

    /** 关联停工id */
    @Excel(name = "关联停工id")
    private Long stopId;

    /** 关联停工编号 */
    @Excel(name = "关联停工编号")
    private String stopNo;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 承包商ID(施工单位) */
    @Excel(name = "承包商ID(施工单位)")
    private Long contractorId;

    /** 承包商名称 */
    @Excel(name = "承包商名称")
    private String contractorName;

    /** 复工原因 */
    @Excel(name = "复工原因")
    private String resumeReason;

    /** 相关证明文件 */
    @Excel(name = "相关证明文件")
    private String attachment;

    /** 复工状态: 1审核中 2已复工 */
    @Excel(name = "复工状态: 1审核中 2已复工")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 审核人ID */
    @Excel(name = "审核人ID")
    private Long approvalUserId;

    /** 审核人姓名 */
    @Excel(name = "审核人姓名")
    private String approvalUserName;

    /** 审核结果: 0 待审 1通过 2退回修改 */
    @Excel(name = "审核结果: 0 待审 1通过 2退回修改")
    private String approvalStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String comment;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setResumeNo(String resumeNo) 
    {
        this.resumeNo = resumeNo;
    }

    public String getResumeNo() 
    {
        return resumeNo;
    }

    public void setStopId(Long stopId) 
    {
        this.stopId = stopId;
    }

    public Long getStopId() 
    {
        return stopId;
    }

    public void setStopNo(String stopNo) 
    {
        this.stopNo = stopNo;
    }

    public String getStopNo() 
    {
        return stopNo;
    }

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }

    public void setContractorId(Long contractorId) 
    {
        this.contractorId = contractorId;
    }

    public Long getContractorId() 
    {
        return contractorId;
    }

    public void setContractorName(String contractorName) 
    {
        this.contractorName = contractorName;
    }

    public String getContractorName() 
    {
        return contractorName;
    }

    public void setResumeReason(String resumeReason) 
    {
        this.resumeReason = resumeReason;
    }

    public String getResumeReason() 
    {
        return resumeReason;
    }

    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setApprovalUserId(Long approvalUserId) 
    {
        this.approvalUserId = approvalUserId;
    }

    public Long getApprovalUserId() 
    {
        return approvalUserId;
    }

    public void setApprovalUserName(String approvalUserName) 
    {
        this.approvalUserName = approvalUserName;
    }

    public String getApprovalUserName() 
    {
        return approvalUserName;
    }

    public void setApprovalStatus(String approvalStatus) 
    {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalStatus() 
    {
        return approvalStatus;
    }

    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    public void setApprovalTime(Date approvalTime) 
    {
        this.approvalTime = approvalTime;
    }

    public Date getApprovalTime() 
    {
        return approvalTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("resumeNo", getResumeNo())
            .append("stopId", getStopId())
            .append("stopNo", getStopNo())
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("contractorId", getContractorId())
            .append("contractorName", getContractorName())
            .append("resumeReason", getResumeReason())
            .append("attachment", getAttachment())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("approvalUserId", getApprovalUserId())
            .append("approvalUserName", getApprovalUserName())
            .append("approvalStatus", getApprovalStatus())
            .append("comment", getComment())
            .append("approvalTime", getApprovalTime())
            .toString();
    }
}
